/* 
 * File:   Box.h
 * Author: matt
 *
 * Created on March 4, 2011, 6:28 PM
 */

#ifndef BOX_H
#define	BOX_H

#include "Ray.h"
#include <vector>
#include "Vector3D.h"

class Box {
public:
    Box();
    Box(double nX, double xX, double nY, double xY, double nZ, double xZ);
    bool hitBox(Ray&, double, double);
    double getCenter(int);
    void print();
    //std::vector<cs5721::Vector3D> corners;



    double minX, maxX, minY, maxY, minZ, maxZ, midX, midY, midZ;
};

#endif	/* BOX_H */

